//
//  DSSHBulidUnitVC.m
//  DSSH
//
//  Created by Fuhao on 16/4/13.
//  Copyright © 2016年 lcy. All rights reserved.
//

#import "DSSHBulidUnitVC.h"
#import "DSSHDetailVC.h"

@interface DSSHBulidUnitVC ()

@end

@implementation DSSHBulidUnitVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
-(void)initDataS
{
    for (int i = 0 ; i < 3; i ++ ) {
        NSMutableArray *tmpnarray = [NSMutableArray array];
        
        for (int k =0; k < (i+1) *5; k++) {
            [tmpnarray addObject:[NSString stringWithFormat:@"第%d单元",k]];
        }
        [self.dataoftable addObject:tmpnarray];
    }
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void) initNextVC:(NSString *)nextL
{
    
    DSSHDetailVC *nextVC = [[DSSHDetailVC alloc] init];
    
    NSString *letfT =  self.recodeStr == nil? @"" : [NSString stringWithFormat:@"%@>",self.recodeStr];
    
    nextVC.recodeStr = [letfT stringByAppendingString:nextL];
    
    
    
    [self.navigationController pushViewController:nextVC animated:YES];
    
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
